package com.ruoyi.system.domain.vo;

import com.ruoyi.common.xss.Xss;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

public class ScanVo {
    @Xss(message = "号码不能包含脚本字符")
    @NotBlank(message = "扫码不能为空")
    @Length(max = 50,message = "二维码编号太长")
    private String scanCode;

    public String getScanCode() {
        return scanCode;
    }

    public void setScanCode(String scanCode) {
        this.scanCode = scanCode;
    }
}
